﻿using System;
using System.Collections.Generic;
using YBBEST.Office365Portal.Core;

namespace YBBEST.Office365Portal.WebTests
{
    public class MockListRepository : IListsRepository
    {
        public bool CreateListWasCalled { get; set; }
        public bool RetrieveAllListsWasCalled { get; set; }

        public void CreateNewList(string listName, string listDescription, int templateID)
        {
            CreateListWasCalled=true;
        }

        public IList<SharePointList> RetrieveAllLists()
        {
            RetrieveAllListsWasCalled = true;
            return null;
        }

        public SharePointList RetrieveListByName(string listName)
        {
            throw new NotImplementedException();
        }

        public void DeleteListByName(string listName)
        {
            throw new NotImplementedException();
        }

        public List<string> DisplayListItems(string item)
        {
            throw new NotImplementedException();
        }

        public void CheckOutFile(string item)
        {
            throw new NotImplementedException();
        }
    }
}